home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / blackjack1.swf / scripts / frame_38 / DoAction.as
Text File  |  2006-01-17  |  584b  |  25 lines

  1. if(insurance == true)
  2. {
  3.    if(Dcard0 + Dcard1 != 21)
  4.    {
  5.       _root.chipSound.start();
  6.       _root.Insurance2Mov.play();
  7.       j = 600;
  8.       while(j < 799)
  9.       {
  10.          _root["chip" + j].play();
  11.          j++;
  12.       }
  13.    }
  14. }
  15. StartDealer = true;
  16. _root.insuranceMov.gotoAndStop(1);
  17. _root.topcard.removeMovieClip();
  18. duplicateMovieClip(_root.scoreMain,"scoreDealer",16694);
  19. setProperty("scoreDealer", _X, 180);
  20. setProperty("scoreDealer", _Y, 85);
  21. Dealer_score_start(_root.card12.value);
  22. Dealer_score_start(_root.card13.value);
  23. Dealer_score_finish();
  24. stop();
  25.